<?php

class LoginsController extends AppController
{
    var $name = 'Logins';

   	function login()
    {
        $this->set('samplepost', $this->Login->findAll());
    }

	function view($id = null)
    {
        $this->Post->id = $id;
        $this->set('post', $this->Login->read());
    }

}

?>
